package com.yhy.feignclient.controller;

import com.yhy.feignclient.client.IHelloClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * describe:
 *
 * @author helloworldyu
 * @date 2018/6/6
 */
@RestController
public class MyHelloController {
	@Autowired
	IHelloClient iHelloClient;

	@GetMapping("myhello")
	String myhello(){
		return iHelloClient.hello();
	}
}